from django.urls import re_path
from rest_framework.routers import DefaultRouter
from sys_user.views import SysUserModelViewSet

router = DefaultRouter()
router.register(r'sys_user', SysUserModelViewSet)

urlpatterns = [
    re_path('sys_user/list', SysUserModelViewSet.as_view({'get':'list'}))
]

urlpatterns += router.urls
